﻿<ui:View x:Class="CPPEI.Coolzon.UI.Views.SelectSolutionView_Old"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Text="Solution:" Width="75" Margin="5"/>
                <ComboBox Name="_ctlListSolution" Width="200">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Path=Caption}"/>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5">
                <TextBlock Text="Domain:" Width="75" Margin="5"/>
                <ComboBox Name="_ctlListDomain" Width="200">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="auto"/>
                                    <ColumnDefinition Width="auto"/>
                                    <ColumnDefinition Width="auto"/>
                                    <ColumnDefinition Width="auto"/>
                                </Grid.ColumnDefinitions>
                                <TextBlock Text="{Binding Path=Caption}" Grid.Column="0"/>
                                <TextBlock Text="(" Grid.Column="1"/>
                                <TextBlock Text="{Binding Path=CreatorAccount}" Grid.Column="2"/>
                                <TextBlock Text=")" Grid.Column="3"/>
                            </Grid>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Center">
                <Button Name="_ctlBtnOK" Content="OK" Width="75" Margin="5" Click="_ctlBtnOK_Click"/>
                <Button Name="_ctlBtnCancel" Content="Cancel" Width="75" Margin="5" Click="_ctlBtnCancel_Click"/>
                <Button Name="_ctlBtnNewDomain" Content="New Domain" Width="90" Margin="5" Click="_ctlBtnNewDomain_Click"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</ui:View>
